package decorator.v2;

import java.io.InputStream;

public class Test {

    public static void main(String[] args) {
        MyInputStream inputStream = new MyFileInputStream();
        MyDataInputStream myDataInputStream = new MyDataInputStream(inputStream);
        MyBufferInputStream myBufferInputStream = new MyBufferInputStream(myDataInputStream);
    }
}
